package com.huaxin.hxmoduleworkorder.dto.response;

import com.huaxin.hxmoduleworkorder.models.MaintenanceOrder;
import com.huaxin.hxmoduleworkorder.models.MaintenanceOrderElectricianTask;
import com.huaxin.hxmoduleworkorder.models.MaintenanceOrderProcess;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class MaintenanceOrderDetailRespDto {
    @Schema(description = "工单信息")
    private MaintenanceOrder order;

    @Schema(description = "工单关联电工信息")
    private List<MaintenanceOrderElectricianTask> electricianTasks;

    @Schema(description = "工单流程信息")
    private List<MaintenanceOrderProcess> processHistory;
}
